]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
[StEntry] Add annotations
authorFlorian Müllner <fmuellner@src.gnome.org>
Sat, 27 Feb 2010 14:46:41 +0000 (15:46 +0100)
committerFlorian Müllner <fmuellner@src.gnome.org>
Sat, 27 Feb 2010 17:03:37 +0000 (18:03 +0100)
All setters in StEntry allow to pass NULL - add appropriate annotations.

src/st/st-entry.c

index ac79f4e93fb3ceb6cb53cd890760eba321331e4a..6cb3cbfc8a03c7b4d5e5790c81ae55bc2612b685 100644 (file)
@@ -707,7 +707,7 @@ st_entry_get_text (StEntry *entry)
 /**
  * st_entry_set_text:
  * @entry: a #StEntry
- * @text: text to set the entry to
+ * @text: (allow-none): text to set the entry to
  *
  * Sets the text displayed on the entry
  */
@@ -762,7 +762,7 @@ st_entry_get_clutter_text (StEntry *entry)
 /**
  * st_entry_set_hint_text:
  * @entry: a #StEntry
- * @text: text to set as the entry hint
+ * @text: (allow-none): text to set as the entry hint
  *
  * Sets the text to display when the entry is empty and unfocused. When the
  * entry is displaying the hint, it has a pseudo class of "indeterminate".
@@ -858,7 +858,7 @@ _st_entry_set_icon_from_file (StEntry       *entry,
 /**
  * st_entry_set_primary_icon_from_file:
  * @entry: a #StEntry
- * @filename: filename of an icon
+ * @filename: (allow-none): filename of an icon
  *
  * Set the primary icon of the entry to the given filename
  */
@@ -879,7 +879,7 @@ st_entry_set_primary_icon_from_file (StEntry     *entry,
 /**
  * st_entry_set_secondary_icon_from_file:
  * @entry: a #StEntry
- * @filename: filename of an icon
+ * @filename: (allow-none): filename of an icon
  *
  * Set the primary icon of the entry to the given filename
  */